package entity.other;

import java.util.Date;

/**
 * (File)实体类+username
 *
 * @author makejava
 * @since 2024-04-06 11:37:51
 */
public class File {


    private Integer id;
    /**
     * 文件路径
     */
    private String filePath;
    /**
     * 初始上传时文件名
     */
    private String fileName;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 权限，私有或公开
     */
    private Integer power;
    /**
     * 下载量
     */
    private Integer download;
    /**
     * 上传时间
     */
    private Date upTime;

    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public Integer getDownload() {
        return download;
    }

    public void setDownload(Integer download) {
        this.download = download;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

}

